package de.tabiteuea.gui;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

/**
 * Nearly standard Perspective as it is provided by a Eclipse template.
 */

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		// add ResultView and set the size relation
		// that means UI-View 0.3, Result-View 0.7
		layout.addView(ResultView.ID, IPageLayout.RIGHT, 0.3f,
				layout.getEditorArea());

	}

}
